package fudan.se.lab2.repository;

import fudan.se.lab2.domain.Meeting;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface MeetingRepository extends CrudRepository<Meeting, Long> {
    Meeting findMeetingByAbbrName(String abbrName);

    Meeting findMeetingByFullName(String fullName);

    Iterable<Meeting> findMeetingByChair(String chair);

    Iterable<Meeting> findMeetingByStatus(int status);
}
